package com.stylefeng.guns.common.persistence.model;

import com.baomidou.mybatisplus.annotations.TableField;

import java.util.Date;

public class ComputerManage{

    private  Integer id;
    private  Integer pid;
    private  String  itemname;
    private  String  title;
    private  Date    createtime;
    private  Date    modifiedtime;
    @TableField("picture_url")
    private  String  pictureUrl;
    @TableField(exist = false)
    private ComputerType computerType;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getItemname() {
        return itemname;
    }

    public void setItemname(String itemname) {
        this.itemname = itemname;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getModifiedtime() {
        return modifiedtime;
    }

    public void setModifiedtime(Date modifiedtime) {
        this.modifiedtime = modifiedtime;
    }

    public String getPictureUrl() {
        return pictureUrl;
    }

    public void setPictureUrl(String pictureUrl) {
        this.pictureUrl = pictureUrl;
    }

    public ComputerType getComputerType() {
        return computerType;
    }

    public void setComputerType(ComputerType computerType) {
        this.computerType = computerType;
    }

    @Override
    public String toString() {
        return "ComputerManage{" +
                "id=" + id +
                ", pid=" + pid +
                ", itemname='" + itemname + '\'' +
                ", title='" + title + '\'' +
                ", createtime=" + createtime +
                ", modifiedtime=" + modifiedtime +
                ", pictureUrl='" + pictureUrl + '\'' +
                ", computerType=" + computerType +
                '}';
    }
}